package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账单对象 t_bill
 * 
 * @author ruoyi
 * @date 2023-04-26
 */
public class TBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 账单编号 */
    @Excel(name = "账单编号")
    private String billNo;

    /** 账单金额 */
    @Excel(name = "账单金额")
    private String billAmount;

    /** 账单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billTime;

    /** 结款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clearTime;

    /** 账单状态 */
    @Excel(name = "账单状态")
    private String billStauts;

    /** 所属机构 */
    @Excel(name = "所属机构")
    private String company;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBillNo(String billNo) 
    {
        this.billNo = billNo;
    }

    public String getBillNo() 
    {
        return billNo;
    }
    public void setBillAmount(String billAmount) 
    {
        this.billAmount = billAmount;
    }

    public String getBillAmount() 
    {
        return billAmount;
    }
    public void setBillTime(Date billTime) 
    {
        this.billTime = billTime;
    }

    public Date getBillTime() 
    {
        return billTime;
    }
    public void setClearTime(Date clearTime) 
    {
        this.clearTime = clearTime;
    }

    public Date getClearTime() 
    {
        return clearTime;
    }
    public void setBillStauts(String billStauts) 
    {
        this.billStauts = billStauts;
    }

    public String getBillStauts() 
    {
        return billStauts;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billNo", getBillNo())
            .append("billAmount", getBillAmount())
            .append("billTime", getBillTime())
            .append("clearTime", getClearTime())
            .append("billStauts", getBillStauts())
            .append("company", getCompany())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
